[INFO] fetching crate nexo-retailer-protocol 0.1.0...
[INFO] checking nexo-retailer-protocol-0.1.0 against master#c290daa1e5274a52e54a0f49e31bd70192abc606 for pr-133502-23
[INFO] extracting crate nexo-retailer-protocol 0.1.0 into /workspace/builds/worker-7-tc1/source
[INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate nexo-retailer-protocol 0.1.0
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate nexo-retailer-protocol 0.1.0
[INFO] tweaked toml for crates.io crate nexo-retailer-protocol 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate nexo-retailer-protocol 0.1.0 on toolchain c290daa1e5274a52e54a0f49e31bd70192abc606
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate nexo-retailer-protocol 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proptest-derive v0.4.0
[INFO] [stderr]   Downloaded jiff-static v0.2.22
[INFO] [stderr]   Downloaded embassy-executor-macros v0.7.0
[INFO] [stderr]   Downloaded embassy-executor v0.9.1
[INFO] [stderr]   Downloaded jiff v0.2.22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 61b5a07dae0cdd765d60215b4e11d6a80bac50e043b02d2cb257c02417d1c550
[INFO] running `Command { std: "docker" "start" "61b5a07dae0cdd765d60215b4e11d6a80bac50e043b02d2cb257c02417d1c550", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "61b5a07dae0cdd765d60215b4e11d6a80bac50e043b02d2cb257c02417d1c550", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "61b5a07dae0cdd765d60215b4e11d6a80bac50e043b02d2cb257c02417d1c550" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "61b5a07dae0cdd765d60215b4e11d6a80bac50e043b02d2cb257c02417d1c550", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "61b5a07dae0cdd765d60215b4e11d6a80bac50e043b02d2cb257c02417d1c550" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling prost-derive v0.14.3
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking jiff v0.2.22
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tempfile v3.26.0
[INFO] [stderr]     Checking uuid v1.21.0
[INFO] [stderr]     Checking rand_xorshift v0.4.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rusty-fork v0.3.1
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling prost v0.14.3
[INFO] [stderr]    Compiling prost-types v0.14.3
[INFO] [stderr]    Compiling petgraph v0.8.3
[INFO] [stderr]     Checking proptest v1.10.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling prost-build v0.14.3
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking env_filter v1.0.0
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking env_logger v0.11.9
[INFO] [stderr]    Compiling proptest-derive v0.4.0
[INFO] [stderr]    Compiling nexo-retailer-protocol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Ordering`
[INFO] [stdout]   --> src/client/timeout.rs:23:37
[INFO] [stdout]    |
[INFO] [stdout] 23 | use core::sync::atomic::{AtomicU64, Ordering};
[INFO] [stdout]    |                                     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::string::String`
[INFO] [stdout]   --> src/error/mod.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use alloc::string::String;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time::Duration`
[INFO] [stdout]   --> src/transport/mod.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | use core::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prost::alloc::string::ToString`
[INFO] [stdout]    --> src/client/builder.rs:706:13
[INFO] [stdout]     |
[INFO] [stdout] 706 |         use prost::alloc::string::ToString;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ordering`
[INFO] [stdout]   --> src/client/timeout.rs:23:37
[INFO] [stdout]    |
[INFO] [stdout] 23 | use core::sync::atomic::{AtomicU64, Ordering};
[INFO] [stdout]    |                                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::string::String`
[INFO] [stdout]   --> src/error/mod.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use alloc::string::String;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time::Duration`
[INFO] [stdout]   --> src/transport/mod.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | use core::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client/std.rs:808:13
[INFO] [stdout]     |
[INFO] [stdout] 808 |         let mut client = NexoClient::with_transport(mock);
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/server/heartbeat.rs:573:13
[INFO] [stdout]     |
[INFO] [stdout] 573 |         let mut monitor = HeartbeatMonitor::new(config);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/server/heartbeat.rs:652:13
[INFO] [stdout]     |
[INFO] [stdout] 652 |         let mut monitor = HeartbeatMonitor::new(config);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MESSAGE_ID_COUNTER` is never used
[INFO] [stdout]   --> src/client/timeout.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | static MESSAGE_ID_COUNTER: AtomicU64 = AtomicU64::new(0);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `complete` is never used
[INFO] [stdout]   --> src/client/std.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl PendingRequests {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     fn complete(&mut self, id: String, response: Vec<u8>) -> Result<(), Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_DEDUP_TTL` is never used
[INFO] [stdout]   --> src/server/connection.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const DEFAULT_DEDUP_TTL: Duration = Duration::from_secs(5 * 60);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `shutdown_flag` is never read
[INFO] [stdout]   --> src/server/std_impl.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct NexoServer {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 59 |     shutdown_flag: Arc<tokio::sync::Notify>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transport/framing.rs:378:13
[INFO] [stdout]     |
[INFO] [stdout] 378 |         let mut transport = MockTransport::new();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transport/framing.rs:379:13
[INFO] [stdout]     |
[INFO] [stdout] 379 |         let mut framed = FramedTransport::new(transport);
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]    --> src/transport/mod.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 150 |     async fn read(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error>;
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]     = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]     |
[INFO] [stdout] 150 -     async fn read(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error>;
[INFO] [stdout] 150 +     fn read(&mut self, buf: &mut [u8]) -> impl std::future::Future<Output = Result<usize, Self::Error>> + Send;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]    --> src/transport/mod.rs:168:5
[INFO] [stdout]     |
[INFO] [stdout] 168 |     async fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>;
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]     |
[INFO] [stdout] 168 -     async fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>;
[INFO] [stdout] 168 +     fn write(&mut self, buf: &[u8]) -> impl std::future::Future<Output = Result<usize, Self::Error>> + Send;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transport/framing.rs:381:13
[INFO] [stdout]     |
[INFO] [stdout] 381 |         let mut transport = MockTransport::new();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `framed`
[INFO] [stdout]    --> src/transport/framing.rs:379:13
[INFO] [stdout]     |
[INFO] [stdout] 379 |         let mut framed = FramedTransport::new(transport);
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_framed`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]    --> src/transport/mod.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |     async fn connect(&mut self, addr: &str) -> Result<(), Self::Error>;
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]     |
[INFO] [stdout] 182 -     async fn connect(&mut self, addr: &str) -> Result<(), Self::Error>;
[INFO] [stdout] 182 +     fn connect(&mut self, addr: &str) -> impl std::future::Future<Output = Result<(), Self::Error>> + Send;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transport/framing.rs:426:13
[INFO] [stdout]     |
[INFO] [stdout] 426 |         let mut transport = MockTransport::new();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transport/framing.rs:456:13
[INFO] [stdout]     |
[INFO] [stdout] 456 |         let mut transport = MockTransport::new();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transport/framing.rs:482:13
[INFO] [stdout]     |
[INFO] [stdout] 482 |         let mut transport = MockTransport::new();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transport/framing.rs:508:13
[INFO] [stdout]     |
[INFO] [stdout] 508 |         let mut transport = MockTransport::new();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transport/framing.rs:534:13
[INFO] [stdout]     |
[INFO] [stdout] 534 |         let mut transport = MockTransport::new().with_partial_reads(2);
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transport/framing.rs:560:13
[INFO] [stdout]     |
[INFO] [stdout] 560 |         let mut transport = MockTransport::new();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/transport/framing.rs:596:13
[INFO] [stdout]     |
[INFO] [stdout] 596 |         let mut transport = MockTransport::new();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MESSAGE_ID_COUNTER` is never used
[INFO] [stdout]   --> src/client/timeout.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | static MESSAGE_ID_COUNTER: AtomicU64 = AtomicU64::new(0);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_sent_data` is never used
[INFO] [stdout]    --> src/client/std.rs:759:12
[INFO] [stdout]     |
[INFO] [stdout] 746 |     impl MockFramedTransport {
[INFO] [stdout]     |     ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 759 |         fn get_sent_data(&self) -> &[u8] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_DEDUP_TTL` is never used
[INFO] [stdout]   --> src/server/connection.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const DEFAULT_DEDUP_TTL: Duration = Duration::from_secs(5 * 60);
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset` is never used
[INFO] [stdout]    --> src/server/handler.rs:321:16
[INFO] [stdout]     |
[INFO] [stdout] 309 |     impl MockRequestHandler {
[INFO] [stdout]     |     ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 321 |         pub fn reset(&self) {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `shutdown_flag` is never read
[INFO] [stdout]   --> src/server/std_impl.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct NexoServer {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 59 |     shutdown_flag: Arc<tokio::sync::Notify>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_available_port` is never used
[INFO] [stdout]    --> src/transport/tokio.rs:515:8
[INFO] [stdout]     |
[INFO] [stdout] 515 |     fn get_available_port() -> u16 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]    --> src/transport/mod.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 150 |     async fn read(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error>;
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]     = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]     |
[INFO] [stdout] 150 -     async fn read(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error>;
[INFO] [stdout] 150 +     fn read(&mut self, buf: &mut [u8]) -> impl std::future::Future<Output = Result<usize, Self::Error>> + Send;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]    --> src/transport/mod.rs:168:5
[INFO] [stdout]     |
[INFO] [stdout] 168 |     async fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>;
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]     |
[INFO] [stdout] 168 -     async fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>;
[INFO] [stdout] 168 +     fn write(&mut self, buf: &[u8]) -> impl std::future::Future<Output = Result<usize, Self::Error>> + Send;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]    --> src/transport/mod.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |     async fn connect(&mut self, addr: &str) -> Result<(), Self::Error>;
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]     |
[INFO] [stdout] 182 -     async fn connect(&mut self, addr: &str) -> Result<(), Self::Error>;
[INFO] [stdout] 182 +     fn connect(&mut self, addr: &str) -> impl std::future::Future<Output = Result<(), Self::Error>> + Send;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nexo_retailer_protocol::Casp001Document`
[INFO] [stdout]    --> tests/cross_runtime_test.rs:476:9
[INFO] [stdout]     |
[INFO] [stdout] 476 |     use nexo_retailer_protocol::Casp001Document;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prost::Message`
[INFO] [stdout]    --> tests/cross_runtime_test.rs:477:9
[INFO] [stdout]     |
[INFO] [stdout] 477 |     use prost::Message;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TokioTransport`
[INFO] [stdout]    --> tests/cross_runtime_test.rs:555:45
[INFO] [stdout]     |
[INFO] [stdout] 555 |     use nexo_retailer_protocol::transport::{TokioTransport, TimeoutConfig};
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transport`
[INFO] [stdout]   --> tests/framing_test.rs:10:58
[INFO] [stdout]    |
[INFO] [stdout] 10 | use nexo_retailer_protocol::transport::{FramedTransport, Transport, TokioTransport};
[INFO] [stdout]    |                                                          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> tests/unit/serialization_edge_cases.rs:308:1
[INFO] [stdout]     |
[INFO] [stdout] 308 | /// Low-case-count proptest block for oversized message tests
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> tests/unit/serialization_edge_cases.rs:561:1
[INFO] [stdout]     |
[INFO] [stdout] 561 | /// Additional proptest block for advanced property tests with higher case counts
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> tests/unit/serialization_edge_cases.rs:650:1
[INFO] [stdout]     |
[INFO] [stdout] 650 | /// High-case-count proptest block for extensive fuzzing
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> tests/unit/serialization_edge_cases.rs:753:1
[INFO] [stdout]     |
[INFO] [stdout] 753 | /// Round-trip property tests with custom strategies for realistic field values
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transport`
[INFO] [stdout]    --> tests/unit/serialization_edge_cases.rs:574:66
[INFO] [stdout]     |
[INFO] [stdout] 574 |         use nexo_retailer_protocol::transport::{FramedTransport, Transport, framing::MAX_FRAME_SIZE};
[INFO] [stdout]     |                                                                  ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nexo_retailer_protocol::error::NexoError`
[INFO] [stdout]    --> tests/unit/serialization_edge_cases.rs:575:13
[INFO] [stdout]     |
[INFO] [stdout] 575 |         use nexo_retailer_protocol::error::NexoError;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> tests/cross_runtime_test.rs:58:34
[INFO] [stdout]    |
[INFO] [stdout] 58 |         async fn read(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error> {
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncReadExt`
[INFO] [stdout]   --> tests/tokio_timeout_test.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/server_heartbeat_integration.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let mut monitor = HeartbeatMonitor::new(config);
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encoded`
[INFO] [stdout]    --> tests/framing_test.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let encoded = normal_msg.encode_to_vec();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `oversized_len`
[INFO] [stdout]    --> tests/framing_test.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     let oversized_len = 4 * 1024 * 1024 + 1; // 4MB + 1 byte
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_oversized_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time::Duration`
[INFO] [stdout]   --> examples/echo_server.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use core::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `total` is assigned to, but never used
[INFO] [stdout]   --> tests/transport/connection_lifecycle.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let mut total = 0;
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_total` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total` is never read
[INFO] [stdout]   --> tests/transport/connection_lifecycle.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |             total += n;
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AtomicUsize`
[INFO] [stdout]   --> tests/server_integration.rs:23:37
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering};
[INFO] [stdout]    |                                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prost::Message`
[INFO] [stdout]   --> tests/server_integration.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use prost::Message;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> examples/echo_server.rs:208:5
[INFO] [stdout]     |
[INFO] [stdout] 162 | /     loop {
[INFO] [stdout] 163 | |         // Accept a new connection
[INFO] [stdout] 164 | |         match listener.accept().await {
[INFO] [stdout] 165 | |             Ok((tcp_stream, peer_addr)) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 208 |       Ok(())
[INFO] [stdout]     |       ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> tests/framing_test.rs:541:13
[INFO] [stdout]     |
[INFO] [stdout] 541 |         for i in 0..5u8 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `server`
[INFO] [stdout]    --> tests/server_integration.rs:387:10
[INFO] [stdout]     |
[INFO] [stdout] 387 |     let (server, addr) = start_test_server().await;
[INFO] [stdout]     |          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_close_on_connect`, `set_reject_attempts`, and `connection_count` are never used
[INFO] [stdout]   --> tests/mock_server.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl MockNexoServer {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub async fn set_close_on_connect(&self, close: bool) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub async fn set_reject_attempts(&self, count: u32) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub async fn connection_count(&self) -> u32 {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `total_sent` is assigned to, but never used
[INFO] [stdout]    --> tests/server_integration.rs:810:9
[INFO] [stdout]     |
[INFO] [stdout] 810 |     let mut total_sent = 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_total_sent` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total_sent` is never read
[INFO] [stdout]    --> tests/server_integration.rs:813:13
[INFO] [stdout]     |
[INFO] [stdout] 813 |             total_sent += count;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.85s
[INFO] running `Command { std: "docker" "inspect" "61b5a07dae0cdd765d60215b4e11d6a80bac50e043b02d2cb257c02417d1c550", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61b5a07dae0cdd765d60215b4e11d6a80bac50e043b02d2cb257c02417d1c550", kill_on_drop: false }`
[INFO] [stdout] 61b5a07dae0cdd765d60215b4e11d6a80bac50e043b02d2cb257c02417d1c550
